BoldBlocks\CustomBlocks D

Total Complexity 264
Dependencies 4
Dependents 5
Total lines 2,242
Lines of code 1,480
Logical lines of code 656
Comment lines 442
Methods 43
Properties 11

Methods 43

Method Rating Maintainability Complexity Lines of code
load_custom_blocks()
D
16
72 241
query_loop_alter_query_params()
C
37 26 68
query_loop_filter_by_meta_queries()
B
34 20 97
register_custom_post_type()
B
22
1 381
query_posts()
B
30 14 123
enqueue_custom_block_scripts()
A
40 14 58
manage_block_columns()
A
45 11 43
query_loop_custom_sort()
A
50 11 27
enqueue_frontend_carousel_scripts()
A
53 9 23
query_loop_filter_by_context()
S
50 7 28
query_loop_the_posts()
S
51 6 26
render_readonly_block()
S
55 5 19
prevent_core_blocks_from_deletion()
S
57 5 16
get_posts()
S
60 5 14
is_enqueue_carousel_script_for_query_loop()
S
59 5 14
hide_on_frontend()
S
60 5 14
refine_custom_scripts()
S
54 4 21
register_scripts()
S
45 1 46
refine_script_handle()
S
67 4 7
query_loop_filter_by_post_ids()
S
62 3 12
query_loop_filter_by_parent()
S
62 3 12
refine_style_handle()
S
68 3 7
register_code_editor_scripts()
S
68 3 7
add_fields_to_revision_meta_keys()
S
52 1 30
query_loop_extended_filters_and_sorting()
S
58 2 15
add_block_custom_columns()
S
59 2 13
enqueue_block_editor_style()
S
64 2 11
run()
S
51 1 24
register_rest_fields()
S
57 1 18
get_all_custom_blocks()
S
71 2 6
enqueue_html_style_for_the_editor()
S
71 2 6
save_version_to_block()
S
71 2 6
enter_title_here()
S
68 2 7
__construct()
S
76 1 4
register_meta()
S
79 1 3
clear_transient_cache()
S
81 1 3
allow_creating_patterns()
S
78 1 3
add_block_custom_columns_style()
S
82 1 3
add_body_class()
S
73 1 5
query_loop_support_advanced_sorting()
S
69 1 7
query_loop_customize_frontend()
S
71 1 5
query_loop_add_custom_query_params()
S
78 1 3
query_loop_query_vars()
S
77 1 4